/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | foam-extend: Open Source CFD                    |
|  \\    /   O peration     | Version:     3.1                                |
|   \\  /    A nd           | Web:         http://www.extend-project.de       |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     potentialWaveFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         1.5;

deltaT          0.00002;

writeControl    timeStep;

writeInterval   10;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression compressed;

timeFormat      general;

timePrecision   6;

runTimeModifiable yes;

adjustTimeStep    yes;

maxCo             1;

/*
functions
{
    ChangePhi_0
    {
        type  manipulateField;
        outputControl   timeStep;
        outputInterval  1;
        fieldName phi;
//        expression  "-deltaT()/(1.205*2*pi*200)* cos(2*200*pi * time())" ;
        expression  "oldTime(phi) + 0.00002/1.205*2*cos(2*200*pi*time())";
//        mask  "rdist(vector(0.5, 0.5,0.5)) <= 0.05" ;
	mask  "pos().z >=0 && pos().z <=0.05 " ;
        writeManipulated true;
    }  
}
*/
// ************************************************************************* //
// ************************************************************************* //
libs ("libfoam.so" "libconvectiveOutlet.so" "libgroovyBC.so" "libsimpleFunctionObjects.so" "libswakFunctionObjects.so" "libsimpleSwakFunctionObjects.so" "libsimpleLagrangianFunctionObjects.so" );
